package com.huakang.mapper;

import com.huakang.entity.Nurse;
import com.huakang.entity.NurseExample;
import java.util.List;

import com.huakang.utils.DocterVo;
import com.huakang.utils.NurseVo;
import org.apache.ibatis.annotations.Param;

public interface NurseMapper {
    long countByExample(NurseExample example);

    int deleteByExample(NurseExample example);

    int deleteByPrimaryKey(Integer nid);

    int insert(Nurse record);

    int insertSelective(Nurse record);

    List<Nurse> selectByExample(NurseExample example);

    Nurse selectByPrimaryKey(Integer nid);

    int updateByExampleSelective(@Param("record") Nurse record, @Param("example") NurseExample example);

    int updateByExample(@Param("record") Nurse record, @Param("example") NurseExample example);

    int updateByPrimaryKeySelective(Nurse record);

    int updateByPrimaryKey(Nurse record);

    List<NurseVo> getAll();

    List<NurseVo> getByCondition(@Param("nname")String nname, @Param("dename")String dename,@Param("kname") String kname);
}